
<!--<?php
print <<<EOT
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="../css/admin.css" rel="stylesheet" type="text/css" />
<title>?j</title>
</head>
<form action="c_order_p.php" method="post" name="form1">
<table width="95%" border="0" align="center">
  <tr> 
    <td align="right">&nbsp; </td>
  </tr>
  <tr> 
    <td><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Are you sure to delete this order ? 
	<input type="hidden" value="del" name="action">
	<input name="cid" type="hidden" value="{$cid}" />
          <input type="Submit" class="button" name="Submit" value="  Yes  ">
          <input type="button" class="button" name="Submit32" value="  No  " onClick="history.back(-1);">
          <br>
          <br>
        </p>
<table width="95%" border="0" align="center">
  <tr> 
    <td align="right">
    </td>
  </tr>
</table>
<table width="95%" border="0" align="center">
  <tr> 
    <td valign="top"> 
      <div align="right"></div>

<table width="95%" border="0" align="center">
  <tr> 
    <td align="right">
   </td>
  </tr>
</table>

<table width="95%" border="0" align="center">
  <tr> 
    <td width="90%" valign="top" height="143">
      <br>
      <table border="0" cellspacing="0" cellpadding="2">
        <tr>
          <td class="tdheader">Order No :</td>
          <td>
            {$order_ary['id']}
          </td>
        </tr>
        <tr>
          <td class="tdheader"></td>
          <td>&nbsp;
          </td>
        </tr>
        <tr bgcolor="#CCCCCC">
          <td colspan="2" class="tdheader">Promoter Details </td>
        </tr>
        <tr>
          <td class="tdheader">Promoter Username :</td>
          <td>
            {$promoter_ary['username']}
          </td>
        </tr>
        <tr>
          <td class="tdheader">Promoter Name :</td>
          <td>
 			{$promoter_ary['firstname']} {$promoter_ary['lastname']}
          </td>
        </tr>
        <tr>
          <td class="tdheader">Promoter Company :</td>
          <td>
             {$promoter_ary['company']}
          </td>
        </tr>
        <tr>
          <td class="tdheader">Promoter Address :</td>
          <td> {$promoter_ary['street']}{$promoter_ary['city']}{$promoter_ary['state']}{$promoter_ary['zip']} {$promoter_ary['country']}&nbsp;&nbsp;</td>
        </tr>
        <tr>
          <td class="tdheader">Promoter Delivery Address :</td>
          <td> {$promoter_ary['street2']}{$promoter_ary['city2']}{$promoter_ary['state2']}{$promoter_ary['zip2']}{$promoter_ary['country2']}&nbsp;&nbsp;&nbsp;&nbsp;</td>
        </tr>
        <tr>
          <td class="tdheader">Promoter Phone :</td>
          <td>
            {$promoter_ary['phone']}
          </td>
        </tr>
        <tr>
          <td class="tdheader">Promoter Mobile :</td>
          <td>
            {$promoter_ary['mobile']}
          </td>
        </tr>
        <tr>
          <td class="tdheader">Promoter Email :</td>
          <td>
           <a href="mailto:{$promoter_ary['email']}">{$promoter_ary['email']}</a>
          </td>
        </tr>
        <tr>
          <td class="tdheader">Card holder's name :</td>
          <td>
           {$order_ary['card_name']}
          </td>
        </tr>
        <tr>
          <td class="tdheader">Card number :</td>
          <td>
            {$order_ary['card_number']}
          </td>
        </tr>
        <tr>
          <td class="tdheader">Expiry Date :</td>
          <td>
			{$order_ary['card_date']}
          </td>
        </tr>
        <tr>
          <td class="tdheader">Security Code :</td>
          <td>
            {$order_ary['card_cvc']}
          </td>
        </tr>
		
		
		
        <tr>
          <td class="tdheader"></td>
          <td>&nbsp;
          </td>
        </tr>
       
        <tr>
          <td colspan="2" bgcolor="#CCCCCC" class="tdheader"><span class="s10">Other Info</span></td>
        </tr>
        <tr>
          <td class="tdheader">Payment Method  : </td>
          <td>
			{$order_ary['card_type']}
		</td>
        </tr>
        <tr>
          <td class="tdheader">Status :</td>
          <td>
          {$order_ary['deliver_status']}
          </td>
        </tr>
		
		
        <tr>
          <td class="tdheader" colspan="2" height="40">&nbsp;</td>
        </tr>
        <tr>
          <td class="tdheader" colspan="2">read and accepted Acuity World´s WebShop Terms of Sale and Delivery?</td>
        </tr>
        <tr>
          <td  colspan="2">{$promoter_ary['faq1']}</td>
        </tr>
        <tr>
          <td class="tdheader" colspan="2">send me the Acuity World Newsletter?</td>
        </tr>
        <tr>
          <td colspan="2">{$promoter_ary['faq2']}</td>
        </tr>
        <tr>
          <td class="tdheader">&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td colspan=2 bgcolor=#FF0000 class=tdheader><span class=s10><font color="#ffffff">Response:</font></span></td>
        </tr>
        <tr>
          <td class=tdheader><span class=s4>Response Code:</span></td>
          <td>{$order_ary['pay_flag']}</td>
        </tr>

        <tr>
          <td class=tdheader>Description: </td>
          <td>{$error_msg}</td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="2">
        <tr> 
          <td>
		  
<hr>
<br>
<table width="95%" border="0" cellpadding="3" cellspacing="1" class="tb">
          <tr class="tbheader"> 
            <td> <div align="center" class="tdheader">Code</div></td>
            <td> <div align="center" class="tdheader">Name</div></td>
            <td> <div align="center" class="tdheader">Type</div></td>
            <!--<td> <div align="center" class="tdheader">Category</div></td>-->
            <td> <div align="center" class="tdheader">Price</div></td>
            <td> <div align="center" class="tdheader">Quantity</div></td>
            <td> <div align="center" class="tdheader">Total</div></td>
          </tr>
<!--
EOT;
foreach($my_cart as $k=>$v){
    $price_show = $v['old_price'];
print <<<EOT
-->

          <tr class="tbcontent1"> 
            <td>{$k}</td>
			<td>{$v['name']}</td>
            <td>{$v['type']}</td>
           <!-- <td>{}</td>-->
             <td>{$price_show}</td>
			<td>{$v['count']}</td>
            <td>{$v['cost']}&nbsp;&nbsp;&nbsp;&nbsp;DKK</td>
			</tr> 
<!--   
EOT;
}
print <<<EOT
-->
          <tr> 
            <td colspan="7" class="tbcontent1" height=30><div align="right">
 				<b>Sub Total :</b>&nbsp;DDK<span style='color:red'>&nbsp;{$totalCost} </span><br>
			    <b>Discount :</b>DDK<span style='color:red'>&nbsp;{$discount}</span><br>
			    <b>New Sub Total :</b>DDK<span style='color:red'>&nbsp;{$new_total}</span> <br>
				<b>VAT :</b>DDK<span style='color:red'>&nbsp;{$vat_fee}</span> <br>
				<b>Shipping Charge :</b>DDK<span style='color:red'>&nbsp;{$addshippingfee}</span> <br>
				<b>Total : </b>DDK<span style='color:red'>&nbsp;{$totalCost2}</span><br>
				<b>Margin :</b>DDK<span style='color:red'>&nbsp;{$margin}</span> <br>
            </div></td>
          </tr>
        </table>
<br>
          </td>
        </tr>
    </table>
    <br>
      <br>
    </td>
  </tr>
</table>
        <br><br><br>
<table width="95%" border="0" align="center">
  <tr> 
    <td align="right">
    </td>
  </tr>
</table>
    </td>
  </tr>
</table>
</form>
<body>
</body>
</html>
<!--
EOT;
?>-->